﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevComponents.DotNetBar;
using DLL;
using BLL;

namespace CuaHangBangDia
{
    public partial class Form_Main : DevComponents.DotNetBar.RibbonForm
    {
        public Form_Main()
        {
            InitializeComponent();
        }

        private void btnNhanVien_Click(object sender, EventArgs e)
        {
            Form_NhanVien frm = new Form_NhanVien();
            frm.ShowDialog();
        }

        private void btnKhachHang_Click(object sender, EventArgs e)
        {
            
        }

        private void btnHangHoa_Click(object sender, EventArgs e)
        {

        }

        private void btnHoaDon_Click(object sender, EventArgs e)
        {

        }

        private void btnDuLieu_Click(object sender, EventArgs e)
        {
            Form_DuLieu frm = new Form_DuLieu();
            frm.ShowDialog();
        }

        private void btnDangXuat_Click(object sender, EventArgs e)
        {
            if (MessageBox.Show("Đăng xuất?", "Thông báo", MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.Yes)
            {
                this.Hide();
                new Form_Login().Show();
            }
        }

        private void Form_Main_Load(object sender, EventArgs e)
        {

        }

        private void btnTK_Click(object sender, EventArgs e)
        {
            Form_TaiKhoan frm = new Form_TaiKhoan();
            frm.ShowDialog();
        }
    }
}